<style type="text/css">
    .content{
        min-height: 150px;
    }
</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div>展示该商家当前类目的抽佣比例为：{$row.category.take_proportion}
        {if condition="$row.category.sharing_type == 1"}
            分佣比例为: {$row.category.sharing_proportion}
        {else /}
            分佣价格为:{$row.category.sharing_proportion}
        {/if}
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('抽成比例')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-take_proportion" data-rule="required" class="form-control" name="row[take_proportion]" type="number" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('分佣比例')}:</label>
        <div class="col-xs-12 col-sm-8">
            <label class="radio-inline">
                <input type="radio" name="row[sharing_type]" value="1" id="type-store" checked> {:__('按比例抽佣')}
            </label>
<!--            <label class="radio-inline">-->
<!--                <input type="radio" name="row[sharing_type]" value="2" id="type-pickup" > {:__('按单品抽佣')}-->
<!--            </label>-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('分佣比例')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sharing_proportion" data-rule="required" class="form-control" name="row[sharing_proportion]" type="number" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>